package org.kgc.alanhealth.mapper;

import org.kgc.alanhealth.entity.HospitalAllergy;

import java.util.List;

/**
* @author 27493
* @description 针对表【hospital_allergy】的数据库操作Mapper
* @createDate 2024-09-10 10:42:07
* @Entity org.kgc.alanhealth.entity.HospitalAllergy
*/
public interface HospitalAllergyMapper {

    int deleteByPrimaryKey(Long id);

    int insert(HospitalAllergy record);

    int insertSelective(HospitalAllergy record);

    HospitalAllergy selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HospitalAllergy record);

    int updateByPrimaryKey(HospitalAllergy record);

    List<HospitalAllergy> selectAllergyById(int id);

    List<HospitalAllergy> selectAllAllergy();
}
